package com.hq.talk.http;

import java.io.Serializable;

/**
 * Created by JS01 on 2016/6/8.
 * 响应数据结构 MVP Model层
 */
public class ResponseData<T> implements Serializable {

    /**
     * 鉴权
     */
    private int act;

    /**
     * 返回code 200表示成功
     */
    private int code;

    /**
     * 提示信息
     */
    private String message;

    /**
     * 返回数据
     */
    private T data;

    public int getAct() {
        return act;
    }

    public void setAct(int act) {
        this.act = act;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
